<div class="truncate" 
  [ngStyle.xs]="{'max-width.px':breakpoint.xs}" 
  [ngStyle.sm]="{'max-width.px':breakpoint.sm}" 
  [ngStyle.md]="{'max-width.px':breakpoint.md}"
  [ngStyle.lg]="{'max-width.px':breakpoint.lg}">
  {{id}}
</div>
